package com.cskaoyan.bean.vo;

import com.cskaoyan.bean.pojo.MarketCategory;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author rebaogu
 * @description
 * @date 2022.04.06 20:01
 * @package com.cskaoyan.bean.vo
 * @Classname CategoryListVo
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
public class CategoryListVo {
    private Integer total;
    private Integer pages;
    private Integer limit;
    private Integer page;
    private List<ListDTO> list;


    @AllArgsConstructor
    @NoArgsConstructor
    @Data
    public static class ListDTO {
        private Integer id;
        private String name;
        private String keywords;
        private String desc;
        private String iconUrl;
        private String picUrl;
        private String level;
        private List<MarketCategory> children;
    }
}


